<div class="content4 content41 page" data-page="deliveryNotice" id="deliveryNotice">
	<p class="location">
		当前位置:
		<label class="locationInfo"><a href="javascript:void(0)" class="platform_main">首页</a> &nbsp;&gt;&nbsp;<a href="javascript:void(0)" class="deliveryNoticeList">放货通知列表</a>&nbsp;&gt;&nbsp;放货通知详情</label>
		<a class="print">打印</a>
	</p>
	<div class="d2 platformBtns">
		<span class="span1"><a class="financeDetailInfo" >放货任务信息</a></span>
		<input type="button" class="button-submit-deliveryNotice float-right " value="通知放货" />
	</div>
	<div class="tab1">
		<script type="text/template" id="deliveryNotice_pickupDetailTpl">
			{@each datas as it}
			<div>
				<p class="pickupP"><span class="pickupSpan1">运单号:<span>${it.pickupNumber}</span></span>
					<span class="pickupSpan1">融资编号:<span>${it.financeNumber}</span></span>
					<span class="pickupSpan1">提货方:<span>${it.enterpriseName}</span></span>
				</p>
				<p class="pickupP">
					<span class="pickupSpan1">提货方式:<span> 
						${getValueByKey(17, it.pickupMethod)}
						</span></span>
					<span class="pickupSpan1">配送方式:<span>
						${getValueByKey(24, it.deliveryMethod)}
						</span></span>
					<span class="pickupSpan1">配送时间:<span>${it.deliveryDate}</span></span>
				</p>
				<p class="pickupP">
					<span class="pickupSpan1">配送地址:<span>${it.deliveryAddress}</span></span>
				</p>
				<p class="pickupP">
					<span class="pickupSpan1">申请备注:<span>${it.remark}</span></span>
				</p>
			</div>

			<div class="pledging_goods">
				<div class="receivablesImg"></div>
				<span class="goods_type">申请提货货物：</span>
				<table border="0" cellspacing="0" cellpadding="0">
					<tr>
						<th class="th1">货物名称</th>
						<th class="th2">规格型号</th>
						<th class="th3">数量</th>
						<th class="th4">重量(吨)</th>
						<th class="th5">体积(m<sup>3</sup>)</th>
						<th class="th6">已提</th>
						<th class="th7">预提数量</th>
					</tr>
					{@each it.pickupBulkstocks as that}
					<tr>
						<td>${that.bulkstockName}</td>
						<td>${that.specification}</td>
						<td>${that.quantity}(${that.unit})</td>
						<td>${that.weight}</td>
						<td>${that.volume}</td>
						<td>${that.pickup}(${that.unit})</td>
						<td>${that.quantity}(${that.unit})</td>
					</tr>
					{@/each}
				</table>
			</div>
			<div class="pledging_goods">
				<span class="pickupImg"></span>
				<table border="0" cellspacing="0" cellpadding="0">
					<tr>
						<th class="th1"><input type="checkbox" class="pickupCheckAll" />全选 箱号</th>
						<th class="th2">理货时间</th>
						<th class="th3">箱型尺寸</th>
						<th class="th4">运单号</th>
						<th class="th5">状态</th>
						<th class="th6">操作</th>
					</tr>
					{@each it.containerInventorys as item}
					<tr inventoryId="${item.inventoryId}">
						<td style="width: auto;">
							{@if item.deliveryNoticeId == 0}
							<input type="checkbox" class="pickupCheck" />
							{@/if}
							${item.caseNumber}
						</td>
						<td>${item.tallyDateTime}</td>
						<td>${item.caseSize}</td>
						<td>${item.waybillNumber}</td>
						<td>${getValueByKey(5, item.supervisionState)}</td>
						<td><a class="detail">详情</a></td>
					</tr>
					{@/each}
				</table>
			</div>
			{@/each}
		</script>
	</div>
	<!--<div class="pledging_goods">
		<div class="saperateLine">------------------------------------------------------------------------------ 换货信息 ------------------------------------------------------------------------------</div>
		<table class="table exchangeBulkstockTable">
			<script type="text/template" class="exchangeBulkstockTpl">
				<tr>
					<th>货物名称</th>
					<th>规格型号</th>
					<th>生产厂家</th>
					<th>产地</th>
					<th>估值单价</th>
					<th>重量</th>
				</tr>
				{@each datas as it} {@each it.exchangeBulkstockInfo as item}
				<tr>
					<td>${item.bulkstockName}</td>
					<td>${item.specification}</td>
					<td>${item.manufacture}</td>
					<td>${item.originPlace}</td>
					<td>${item.bulkstockPrice}</td>
					<td>${item.weight}吨</td>
				</tr>
				{@/each} {@/each}
			</script>
		</table>
	</div>-->
	<!--<div class="pledging_goods">
		<div class="saperateLine">------------------------------------------------------------------------------ 换箱信息 ------------------------------------------------------------------------------</div>
		<table class="table exchangeInventoryTable">
			<script type="text/template" class="exchangeInventoryTpl">
				<tr>
					<th>物流运单号</th>
					<th>箱号</th>
					<th>箱型尺寸</th>
					<th>铅封号</th>
					<th>货物名称</th>
					<th>规格型号</th>
					<th>重量</th>
				</tr>
				{@each datas as it} {@each it.exchangeContainerInventory as item}
				<tr>
					<td>${item.waybillNumber}</td>
					<td>${item.caseNumber}</td>
					<td>${item.caseSize}</td>
					<td>${item.facingSlip}</td>
					<td>
						{@each item.exchangeContainerBulkstock as that} ${that.bulkstockName}
						<br /> {@/each}
					</td>
					<td>
						{@each item.exchangeContainerBulkstock as that} ${that.specification}
						<br /> {@/each}
					</td>
					<td>
						{@each item.exchangeContainerBulkstock as that} ${that.weight}${that.unit}
						<br /> {@/each}
					</td>
				</tr>
				{@/each} {@/each}
			</script>
		</table>
	</div>-->
	<div class="pledging_goods">
		<div class="saperateLine">------------------------------------------------------------------------------ 收款流水信息 ------------------------------------------------------------------------------</div>
		<table class="table receiptManageBody" cellspacing="0px" cellpadding="0px">
		</table>
		<div id="pagenation" class="pagerCon"></div>
		<script type="text/template" class="receiptManageTpl">
			<tr class="table_title">
				<th>收支单号</th>
				<th>单证类型</th>
				<th>融资单号</th>
				<th>应收金额</th>
				<th>已发生额</th>
				<th>余额</th>
				<th>收付款时间</th>
				<th>收款方 </th>
				<th>付款方</th>
				<!--<th>操作</th>-->
			</tr>
			{@each datas as it}
			<tr statementSourceId="${it.statementSourceId}" statementSource="${it.statementSource}" class="tr_style table-data" moneyStatementId="${it.moneyStatementId}">
				<td>${it.statementNumber}</td>
				<td>${getValueByKey(44, it.statementSource)}</td>
				<td>${it.financeNumber}</td>
				<td>&#65509;${it.amount}</td>
				<td>&#65509;${it.receiptAmount}</td>
				<td>&#65509;${it.receiptBalance}</td>
				<td>${it.statementDate}</td>
				<td>${it.receiptName}</td>
				<td>${it.disbursementName}</td>
				<!--<td>
					<a href="javascript:void(0);" class="receptDetail">详情</a>
				</td>-->
			</tr>
			{@/each}
		</script>
	</div>
	<div id="fullBg" class="fullBg none"></div>
	<div id="deliveryNotice2_dialog" class="dialog none deliveryNotice1">
		<div class="dialogTitle">通知放货</div>
		<button class="closeDiv">×</button>
		<div class="dialogContent deliveryNotice" action="createDeliveryNotice" version="v1.0">
			<div>
				<input type="hidden" name="pickupId" />
				<div class="pickIncentories"></div>
				<p><span for="" class="field-lab2 financing_field-lab2"><span class="requiredInput">*</span>物流公司:</span>
					<input type="hidden" name="logisticsCompanyName" class="supervisionCompanyNameInput" />
					<select class="field-input  logisticsCompanyNameSelect" isNULL="1" codeName="物流公司" id="supervisionCompanyName2" name="logisticsCompanyId">
						<script type="text/template" id="supervisionTpl2">
							<option value=""></option>
							{@each datas as it}
							<option value="${it.companyId}">${it.companyName}</option>
							{@/each}
						</script>
					</select>
				</p>
				<p>
					<span for="" class="field-lab2 financing_field-lab2" style="vertical-align: top; margin-top: 0px;">备注信息：</span>
					<textarea class="field-input field-textarea3" name="noticeRemark" maxLength="100"></textarea>
				</p>
			</div>
		</div>
		<div class="footerBtnContract">
			<div id="sure_deliveryNotice1" class="dialogBtn dialogHandlerBtn">确定</div>
		</div>
	</div>
</div>